package com.infore.exchange.main.service;

import com.infore.common.model.dto.ChartsVo;
import com.infore.common.model.entity.exchange.TExTransformLog;
import com.baomidou.mybatisplus.service.IService;
import com.infore.common.model.entity.vo.exchange.TExTransformLogVo;
import com.infore.common.request.query.exchange.TransformLogRequest;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 数据交换日志 服务类
 * </p>
 *
 * @author lijh
 * @since 2023-02-21
 */
public interface TExTransformLogService extends IService<TExTransformLog> {

    Map<String ,Object> queryDataTransformReadAndWriterRows();
    List<TExTransformLogVo> queryTransformLogByLastday();
    List<Map<String,Object>> queryTransformLogReadWriterStatistics(String format, int days);

    List<Map<String,Object>> queryTransformLog(TransformLogRequest request);

    ChartsVo queryTransformLogReadWriterStatisticsOfLastMonth();

    ChartsVo queryTransformLogReadWriterStatisticsOfLastYear();

}
